<template>
  <div id="box"></div>
</template>

<script>
export default {
  name: "AmisRenderer",
  props: {
    amisjson: {
      type: Object,
      required: true,
    },
  },
  mounted() {
    var amis = window.amisRequire("amis/embed");
    // eslint-disable-next-line no-unused-vars
    let amisScoped = amis.embed("#box", this.amisjson);
  },
};
</script>